import re
def parse(str,url):
    if str is not None:
        list = []
        dict={}
        pattern = re.compile('(.*)?行政处罚决定书(.*)?当事人(.*)?[统一社会信用代码|营业执照注册号](.*)?[地址|住所](.*)?执法人员(.*)?以上事实(.*)?行为违反了(.*)?规定我局于(.*)?处罚决定如下(.*)?处罚决定的履行方式(.*)?')
        pattern_2 = re.compile('(.*)?行政处罚决定书(.*)?当事人(.*)?[统一社会信用代码|营业执照注册号](.*)?[地址|住所](.*)?执法人员(.*)?以上事实(.*)?行为,违反了(.*)?规定我局于(.*)?处罚决定如下(.*)?处罚决定的履行方式(.*)?')
        pattern_3 = re.compile('(.*)?行政处罚决定书(.*)?当事人(.*)?[统一社会信用代码|营业执照注册号](.*)?[地址|住所](.*)?执法人员(.*)?以上事实(.*)?行为,违反了(.*)?规定。我局于(.*)?处罚决定如下(.*)?处罚决定的履行方式(.*)?')
        pattern_4 =re.compile('(.*)?行政处罚决定书(.*)?当事人(.*)?[统一社会信用代码|营业执照注册号](.*)?[地址|住所](.*)?执法人员(.*)?以上事实(.*)?行为违反了(.*)?规定。我局于(.*)?处罚决定如下(.*)?处罚决定的履行方式(.*)?')
        pattern_5= re.compile('(.*)?行政处罚决定书(.*)?当事人(.*)?[统一社会信用代码|营业执照注册号](.*)?[地址|住所](.*)?执法人员(.*)?以上事实(.*)?行为违反了(.*)?规定我局于(.*)?如下行政处罚(.*)?处罚决定的履行方式(.*)?')
        pattern_6 = re.compile('(.*)?行政处罚决定书(.*)?当事人(.*)?[统一社会信用代码|营业执照注册号](.*)?[地址|住所](.*)?执法人员(.*)?以上事实(.*)?行为,违反了(.*)?规定我局于(.*)?如下行政处罚(.*)?处罚决定的履行方式(.*)?')
        pattern_7 = re.compile('(.*)?行政处罚决定书(.*)?当事人(.*)?[统一社会信用代码|营业执照注册号](.*)?[地址|住所](.*)?执法人员(.*)?以上事实(.*)?行为,违反了(.*)?规定。我局于(.*)?如下行政处罚(.*)?处罚决定的履行方式(.*)?')
        pattern_8 = re.compile('(.*)?行政处罚决定书(.*)?当事人(.*)?[统一社会信用代码|营业执照注册号](.*)?[地址|住所](.*)?执法人员(.*)?以上事实(.*)?行为违反了(.*)?规定。我局于(.*)?如下行政处罚(.*)?处罚决定的履行方式(.*)?')
        pattern_9= re.compile('(.*)?行政处罚决定书(.*)?当事人(.*)?[统一社会信用代码|营业执照注册号](.*)?[地址|住所](.*)?执法人员(.*)?以上事实(.*)?行为违反了(.*)?规定我局于(.*)?作出决定如下(.*)?处罚决定的履行方式(.*)?')
        pattern_10 = re.compile('(.*)?行政处罚决定书(.*)?当事人(.*)?[统一社会信用代码|营业执照注册号](.*)?[地址|住所](.*)?执法人员(.*)?以上事实(.*)?行为,违反了(.*)?规定我局于(.*)?作出决定如下(.*)?处罚决定的履行方式(.*)?')
        pattern_11 = re.compile('(.*)?行政处罚决定书(.*)?当事人(.*)?[统一社会信用代码|营业执照注册号](.*)?[地址|住所](.*)?执法人员(.*)?以上事实(.*)?行为,违反了(.*)?规定。我局于(.*)?作出决定如下(.*)?处罚决定的履行方式(.*)?')
        pattern_12= re.compile('(.*)?行政处罚决定书(.*)?当事人(.*)?[统一社会信用代码|营业执照注册号](.*)?[地址|住所](.*)?执法人员(.*)?以上事实(.*)?行为违反了(.*)?规定。我局于(.*)?作出决定如下(.*)?处罚决定的履行方式(.*)?')
        pattern_13 = re.compile(r'(.*)?行政处罚决定书(.*)?号(.*)?统一社会信用代码(.*)?法定代表人(.*)?一、环境违法事实和证据(.*)?以上事实有下列证据为证(.*)?上述行为，违反了(.*)?承担相应的法律责任(.*)?我局对你公司(.*)?三、处罚决定的履行方式和期限(.*)?我局将依法申请人民法院强制执行。(.*?)')
        pattern_14 = re.compile(r'(.*)?行政处罚决定书(.*)?号(.*)?法定代表人(.*)?一、环境违法事实和证据(.*)?以上事实有下列证据为证(.*)?上述行为，违反了(.*)?承担相应的法律责任(.*)?我局对你公司(.*)?三、处罚决定的履行方式和期限(.*)?我局将依法申请人民法院强制执行。(.*?)')
        pattern_15 = re.compile(r'(.*)?行政处罚决定书(.*)?被处罚单位(.*)?营业执照统一社会信用代码(.*)?住所(.*)?一、调查情况及发现的环境违法事实、证据和陈述申辩（听证）及采纳情况(.*)?以上违法事实有以下证据证明：(.*)?上述行为违反了(.*)?的规定(.*)?决定对你(.*)?作出如下(.*)?根据罚缴分离的规定(.*)?我局将依法申请人民法院强制执行。(.*)?')
        pattern_16 = re.compile(r'(.*)?行政处罚决定书(.*)?被处罚单位(.*)?营业执照统一社会信用代码(.*)?经营场所(.*)?一、调查情况及发现的环境违法事实、证据和陈述申辩（听证）及采纳情况(.*)?以上违法事实有以下证据证明：(.*)?上述行为违反了(.*)?的规定(.*)?决定对你(.*)?作出如下(.*)?根据罚缴分离的规定(.*)?我局将依法申请人民法院强制执行。(.*)?')
        pattern_17 = re.compile(r'(.*)?行政处罚决定书(.*)?被处罚单位(.*)?营业执照统一社会信用代码(.*)?住所(.*)?一、调查情况及发现的环境违法事实、证据和陈述申辩（听证）及采纳情况(.*)?以上违法事实有以下证据证明：(.*)?上述行为违反了(.*)?的规定(.*)?决定对你(.*)?作出如下(.*)?根据罚缴分离的规定(.*)?我局将依法申请人民法院强制执行。(.*)?')
        pattern_18 = re.compile(r'(.*)?处罚决定书(.*)?号(.*)?统一社会信用代码(.*)?法定代表人(.*)?一、环境违法事实和证据(.*)?以上事实有下列证据为证(.*)?上述行为，违反了(.*)?承担相应的法律责任(.*)?合计罚款(.*)?三、处罚决定的履行方式和期限(.*)?我局将依法申请人民法院强制执行。(.*?)')
        pattern_19 = re.compile('(.*)?行政处罚决定书(.*)?号(.*)?统一社会信用代码(.*)?[注册地址|住所](.*)?调查情况及发现的违法事实和证据(.*)?以上事实(.*)?行为违反了(.*)?规定,依法应当予以处罚。(.*)?行政处罚及行政命令的依据、种类(.*)?作出如下处罚(.*)?我局将依法申请人民法院强制执行(.*)?')
        pattern_20 = re.compile('(.*)?行政处罚决定书(.*)?号(.*)?统一社会信用代码(.*)?[注册地址|住所](.*)?调查情况及发现的违法事实和证据(.*)?以上事实(.*)?行为违反了(.*)?规定,依法应当予以处罚。(.*)?行政处罚及行政命令的依据、种类(.*)?作出如下决定(.*)?我局将依法申请人民法院强制执行(.*)?')
        pattern_21 = re.compile('(.*)?行政处罚决定书(.*)?号(.*)?统一社会信用代码(.*)?法定代表人(.*)?一、环境违法事实和证据(.*)?以上事实，有如下证据为证(.*)?上述行为，违反了(.*)?应当承担相应的法律责任(.*)决定对你公司的环境违法行为，给予(.*)?三、处罚决定的履行方式和期限(.*)?我局将依法申请人民法院强制执行。(.*)?')
        pattern_22 = re.compile('(.*)?行政处罚决定书(.*)?号(.*)?统一社会信用代码(.*)?法定代表人(.*)?一、环境违法事实和证据(.*)?以上事实，有如下证据为证(.*)?上述行为，违反了(.*)?应当承担相应的法律责任(.*)经研究，我局决定(.*)?三、处罚决定的履行方式和期限(.*)?我局将依法申请人民法院强制执行。(.*)?')
        pattern_23 = re.compile('(.*)?行政处罚决定书(.*)?号(.*)?法定代表人(.*)?统一社会信用代码(.*)?一、环境违法事实和证据(.*)?以上事实，有如下证据为证(.*)?上述行为，违反了(.*)?应当承担相应的法律责任(.*)经研究，我局决定(.*)?三、处罚决定的履行方式和期限(.*)?我局将依法申请人民法院强制执行。(.*)?')
        pattern_24 = re.compile('(.*)?行政处罚决定书(.*)?统一社会信用代码(.*)?组织机构代码(.*)?一、环境违法事实和证据(.*)?上述行为违反了(.*)?依法应当予以处罚(.*)?依据上述规定(.*)?三、处罚决定的履行方式和期限(.*)?环境(.*)?抄送(.*)?')
        pattern_25 = re.compile('(.*)?行政处罚决定书(.*)?工商营业执照注册号(.*)?组织机构代码(.*)?一、环境违法事实和证据(.*)?上述行为违反了(.*)?依法应当予以处罚(.*)?依据上述规定(.*)?三、处罚决定的履行方式和期限(.*)?环境(.*)?抄送(.*)?')
        pattern_26 = re.compile('(.*)?行政处罚决定书(.*)?工商营业执照注册号(.*)?经营场所(.*)?一、环境违法事实和证据(.*)?上述行为违反了(.*)?依法应当予以处罚(.*)?依据上述规定(.*)?三、处罚决定的履行方式和期限(.*)?环境(.*)?抄送(.*)?')
        pattern_27 = re.compile('(.*)?行政处罚决定书(.*)?统一社会信用代码(.*)?住所(.*)?一、环境违法事实和证据(.*)?上述行为违反了(.*)?依法应当予以处罚。(.*)?依据上述规定(.*)?三、处罚决定的履行方式和期限(.*)?环境(.*)?抄送(.*)?')
        pattern_28 = re.compile('(.*)?行政处罚决定书(.*)?统一社会信用代码(.*)?经营场所(.*)?一、环境违法事实和证据(.*)?上述行为违反了(.*)?依法应当予以处罚。(.*)?依据上述规定(.*)?三、处罚决定的履行方式和期限(.*)?环境(.*)?抄送(.*)?')
        pattern_29 = re.compile('(.*)?行政处罚决定书(.*)?统一社会信用代码(.*)?经营场所(.*)?一、环境违法事实和证据(.*)?上述行为(.*)?依法应当予以处罚。(.*)二、责令改正和行政处罚的依据、种类(.*)?决定对你(.*)?三、处罚决定的履行方式和期限(.*)?环境(.*)?抄送(.*)?')

        if re.search(pattern_24, str) is not None:
            s = re.search(pattern_24, str)
            dict['公司名称'] = s.group(2)
            dict['行政处罚决定书文号'] = s.group(1)
            dict['统一社会信用代码/组织机构代码'] = s.group(3)
            dict['处罚事由/违法类型'] = s.group(5)
            dict['处罚依据'] = s.group(6)
            dict['处罚措施'] = s.group(8)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if '罚款' in cfcs:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其它'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = s.group(10)
            dict['原文'] = str
            dict['链接'] = url
        elif re.search(pattern_25, str) is not None:
            s = re.search(pattern_25, str)
            dict['公司名称'] = s.group(2)
            dict['行政处罚决定书文号'] = s.group(1)
            dict['统一社会信用代码/组织机构代码'] = s.group(3)
            dict['处罚事由/违法类型'] = s.group(5)
            dict['处罚依据'] = s.group(6)
            dict['处罚措施'] = s.group(8)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if '罚款' in cfcs:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其它'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = s.group(10)
            dict['原文'] = str
            dict['链接'] = url
        elif re.search(pattern_26, str) is not None:
            s = re.search(pattern_26, str)
            dict['公司名称'] = s.group(2)
            dict['行政处罚决定书文号'] = s.group(1)
            dict['统一社会信用代码/组织机构代码'] = s.group(3)
            dict['处罚事由/违法类型'] = s.group(5)
            dict['处罚依据'] = s.group(6)
            dict['处罚措施'] = s.group(8)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if '罚款' in cfcs:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其它'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = s.group(10)
            dict['原文'] = str
            dict['链接'] = url
        elif re.search(pattern_27, str) is not None:
            s = re.search(pattern_27, str)
            dict['公司名称'] = s.group(2)
            dict['行政处罚决定书文号'] = s.group(1)
            dict['统一社会信用代码/组织机构代码'] = s.group(3)
            dict['处罚事由/违法类型'] = s.group(5)
            dict['处罚依据'] = s.group(6)
            dict['处罚措施'] = s.group(8)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if '罚款' in cfcs:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其它'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = s.group(10)
            dict['原文'] = str
            dict['链接'] = url
        elif re.search(pattern_28, str) is not None:
            s = re.search(pattern_28, str)
            dict['公司名称'] = s.group(2)
            dict['行政处罚决定书文号'] = s.group(1)
            dict['统一社会信用代码/组织机构代码'] = s.group(3)
            dict['处罚事由/违法类型'] = s.group(5)
            dict['处罚依据'] = s.group(6)
            dict['处罚措施'] = s.group(8)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if '罚款' in cfcs:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其它'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = s.group(10)
            dict['原文'] = str
            dict['链接'] = url
        elif re.search(pattern_29, str) is not None:
            s = re.search(pattern_29, str)
            dict['公司名称'] = s.group(2)
            dict['行政处罚决定书文号'] = s.group(1)
            dict['统一社会信用代码/组织机构代码'] = s.group(3)
            dict['处罚事由/违法类型'] = s.group(5)
            dict['处罚依据'] = s.group(6)
            dict['处罚措施'] = s.group(9)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if '罚款' in cfcs:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其它'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = s.group(11)
            dict['原文'] = str
            dict['链接'] = url
        elif re.search(pattern_21, str):
            s = re.search(pattern_21, str)
            dict['公司名称'] = s.group(3)
            dict['统一社会信用代码/组织机构代码'] = s.group(4)
            dict['处罚事由/违法类型'] = s.group(6)
            dict['处罚依据'] = s.group(8)
            dict['处罚措施'] = s.group(10)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if dict['罚款金额（元）']:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其他'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = s.group(12)
            dict['原文'] = str
            dict['链接'] = url
            dict['行政处罚决定书文号'] = s.group(2)
        elif re.search(pattern_22, str):
            s = re.search(pattern_22, str)
            dict['公司名称'] = s.group(3)
            dict['统一社会信用代码/组织机构代码'] = s.group(5)
            dict['处罚事由/违法类型'] = s.group(6)
            dict['处罚依据'] = s.group(8)
            dict['处罚措施'] = s.group(10)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if dict['罚款金额（元）']:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其他'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = s.group(12)
            dict['原文'] = str
            dict['链接'] = url
            dict['行政处罚决定书文号'] = s.group(2)
        elif re.search(pattern_23, str):
            s = re.search(pattern_23, str)
            dict['公司名称'] = s.group(3)
            dict['统一社会信用代码/组织机构代码'] = s.group(4)
            dict['处罚事由/违法类型'] = s.group(6)
            dict['处罚依据'] = s.group(8)
            dict['处罚措施'] = s.group(10)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if dict['罚款金额（元）']:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其他'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = s.group(12)
            dict['原文'] = str
            dict['链接'] = url
            dict['行政处罚决定书文号'] = s.group(2)
        elif re.search(pattern_19, str) is not None:
            s = re.search(pattern_19, str)
            dict['公司名称'] = s.group(3)
            dict['行政处罚决定书文号'] = s.group(2)
            dict['统一社会信用代码/组织机构代码'] = s.group(4)
            dict['处罚事由/违法类型'] = s.group(6)
            dict['处罚依据'] = s.group(8)
            dict['处罚措施'] = s.group(11)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if '罚款' in cfcs:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其它'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = s.group(12)
            dict['原文'] = str
            dict['链接'] = url
        elif re.search(pattern_20, str) is not None:
            s = re.search(pattern_20, str)
            dict['公司名称'] = s.group(3)
            dict['行政处罚决定书文号'] = s.group(2)
            dict['统一社会信用代码/组织机构代码'] = s.group(4)
            dict['处罚事由/违法类型'] = s.group(6)
            dict['处罚依据'] = s.group(8)
            dict['处罚措施'] = s.group(11)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if '罚款' in cfcs:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其它'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = s.group(12)
            dict['原文'] = str
            dict['链接'] = url
        elif re.search(pattern_13, str) is not None:
            s = re.search(pattern_13, str)
            dict['公司名称'] = s.group(3)
            dict['行政处罚决定书文号'] = s.group(2)
            dict['统一社会信用代码/组织机构代码'] = s.group(4) + '\t'
            dict['处罚事由/违法类型'] = s.group(6)
            dict['处罚依据'] = s.group(8)
            dict['处罚措施'] = s.group(10)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if '罚款' in cfcs:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其它'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = s.group(12)
            dict['原文'] = str
            dict['链接'] = url
        elif re.search(pattern_14, str) is not None:
            s = re.search(pattern_14, str)
            dict['公司名称'] = s.group(3)
            dict['行政处罚决定书文号'] = s.group(2)
            dict['统一社会信用代码/组织机构代码'] = ''
            dict['处罚事由/违法类型'] = s.group(5)
            dict['处罚依据'] = s.group(7)
            dict['处罚措施'] = s.group(9)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if '罚款' in cfcs:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其它'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = s.group(11)
            dict['原文'] = str
            dict['链接'] = url
        elif re.search(pattern_15, str) is not None:
            s = re.search(pattern_15, str)
            dict['公司名称'] = s.group(3)
            dict['行政处罚决定书文号'] = s.group(2)
            dict['统一社会信用代码/组织机构代码'] = s.group(4) + '\t'
            dict['处罚事由/违法类型'] = s.group(6)
            dict['处罚依据'] = s.group(8)
            dict['处罚措施'] = s.group(11)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if '罚款' in cfcs:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其它'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = s.group(13)
            dict['原文'] = str
            dict['链接'] = url
        elif re.search(pattern_16, str) is not None:
            s = re.search(pattern_16, str)
            dict['公司名称'] = s.group(3)
            dict['行政处罚决定书文号'] = s.group(2)
            dict['统一社会信用代码/组织机构代码'] = s.group(4) + '\t'
            dict['处罚事由/违法类型'] = s.group(6)
            dict['处罚依据'] = s.group(8)
            dict['处罚措施'] = s.group(11)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if '罚款' in cfcs:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其它'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = s.group(13)
            dict['原文'] = str
            dict['链接'] = url
        elif re.search(pattern_17, str) is not None:
            s = re.search(pattern_17, str)
            dict['公司名称'] = s.group(3)
            dict['行政处罚决定书文号'] = s.group(2)
            dict['统一社会信用代码/组织机构代码'] = s.group(4) + '\t'
            dict['处罚事由/违法类型'] = s.group(6)
            dict['处罚依据'] = s.group(8)
            dict['处罚措施'] = s.group(11)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if '罚款' in cfcs:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其它'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = s.group(13)
            dict['原文'] = str
            dict['链接'] = url
        elif re.search(pattern_18, str) is not None:
            s = re.search(pattern_18, str)
            dict['公司名称'] = s.group(3)
            dict['行政处罚决定书文号'] = s.group(2)
            dict['统一社会信用代码/组织机构代码'] = s.group(4) + '\t'
            dict['处罚事由/违法类型'] = s.group(6)
            dict['处罚依据'] = s.group(8)
            dict['处罚措施'] = s.group(10)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if '罚款' in cfcs:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其它'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = s.group(12)
            dict['原文'] = str
            dict['链接'] = url
        elif re.search(pattern,str)is not None:
            s =re.search(pattern,str)
            dict['公司名称'] = s.group(3)
            dict['统一社会信用代码/组织机构代码'] = s.group(4)
            dict['处罚事由/违法类型'] = s.group(6)
            dict['处罚依据'] = s.group(8)
            dict['处罚措施'] = s.group(10)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if '罚款' in cfcs:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其它'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = ''
            dict['行政处罚决定书文号'] = s.group(2)
            dict['原文'] = str
            dict['链接'] = url
        elif re.search(pattern_2,str)is not None:
            s =re.search(pattern_2,str)
            dict['公司名称'] = s.group(3)
            dict['统一社会信用代码/组织机构代码'] = s.group(4)
            dict['处罚事由/违法类型'] = s.group(6)
            dict['处罚依据'] = s.group(8)
            dict['处罚措施'] = s.group(10)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if '罚款' in cfcs:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其它'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = ''
            dict['行政处罚决定书文号'] = s.group(2)
            dict['原文'] = str
            dict['链接'] = url
        elif re.search(pattern_3, str) is not None:
            s = re.search(pattern_3, str)
            dict['公司名称'] = s.group(3)
            dict['统一社会信用代码/组织机构代码'] = s.group(4)
            dict['处罚事由/违法类型'] = s.group(6)
            dict['处罚依据'] = s.group(8)
            dict['处罚措施'] = s.group(10)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if '罚款' in cfcs:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其它'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = ''
            dict['行政处罚决定书文号'] = s.group(2)
            dict['原文'] = str
            dict['链接'] = url
        elif re.search(pattern_4, str) is not None:
            s = re.search(pattern_4, str)
            dict['公司名称'] = s.group(3)
            dict['统一社会信用代码/组织机构代码'] = s.group(4)
            dict['处罚事由/违法类型'] = s.group(6)
            dict['处罚依据'] = s.group(8)
            dict['处罚措施'] = s.group(10)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if '罚款' in cfcs:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其它'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = ''
            dict['行政处罚决定书文号'] = s.group(2)
            dict['原文'] = str
            dict['链接'] = url
        elif re.search(pattern_5, str) is not None:
            s = re.search(pattern_5, str)
            dict['公司名称'] = s.group(3)
            dict['统一社会信用代码/组织机构代码'] = s.group(4)
            dict['处罚事由/违法类型'] = s.group(6)
            dict['处罚依据'] = s.group(8)
            dict['处罚措施'] = s.group(10)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if '罚款' in cfcs:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其它'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = ''
            dict['行政处罚决定书文号'] = s.group(2)
            dict['原文'] = str
            dict['链接'] = url
        elif re.search(pattern_6, str) is not None:
            s = re.search(pattern_6, str)
            dict['公司名称'] = s.group(3)
            dict['统一社会信用代码/组织机构代码'] = s.group(4)
            dict['处罚事由/违法类型'] = s.group(6)
            dict['处罚依据'] = s.group(8)
            dict['处罚措施'] = s.group(10)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if '罚款' in cfcs:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其它'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = ''
            dict['行政处罚决定书文号'] = s.group(2)
            dict['原文'] = str
            dict['链接'] = url
        elif re.search(pattern_7, str) is not None:
            s = re.search(pattern_7, str)
            dict['公司名称'] = s.group(3)
            dict['统一社会信用代码/组织机构代码'] = s.group(4)
            dict['处罚事由/违法类型'] = s.group(6)
            dict['处罚依据'] = s.group(8)
            dict['处罚措施'] = s.group(10)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if '罚款' in cfcs:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其它'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = ''
            dict['行政处罚决定书文号'] = s.group(2)
            dict['原文'] = str
            dict['链接'] = url
        elif re.search(pattern_8, str) is not None:
            s = re.search(pattern_8, str)
            dict['公司名称'] = s.group(3)
            dict['统一社会信用代码/组织机构代码'] = s.group(4)
            dict['处罚事由/违法类型'] = s.group(6)
            dict['处罚依据'] = s.group(8)
            dict['处罚措施'] = s.group(10)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if '罚款' in cfcs:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其它'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = ''
            dict['行政处罚决定书文号'] = s.group(2)
            dict['原文'] = str
            dict['链接'] = url
        elif re.search(pattern_9, str) is not None:
            s = re.search(pattern_9, str)
            dict['公司名称'] = s.group(3)
            dict['统一社会信用代码/组织机构代码'] = s.group(4)
            dict['处罚事由/违法类型'] = s.group(6)
            dict['处罚依据'] = s.group(8)
            dict['处罚措施'] = s.group(10)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if '罚款' in cfcs:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其它'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = ''
            dict['行政处罚决定书文号'] = s.group(2)
            dict['原文'] = str
            dict['链接'] = url
        elif re.search(pattern_10, str) is not None:
            s = re.search(pattern_10, str)
            dict['公司名称'] = s.group(3)
            dict['统一社会信用代码/组织机构代码'] = s.group(4)
            dict['处罚事由/违法类型'] = s.group(6)
            dict['处罚依据'] = s.group(8)
            dict['处罚措施'] = s.group(10)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if '罚款' in cfcs:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其它'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = ''
            dict['行政处罚决定书文号'] = s.group(2)
            dict['原文'] = str
            dict['链接'] = url
        elif re.search(pattern_11, str) is not None:
            s = re.search(pattern_11, str)
            dict['公司名称'] = s.group(3)
            dict['统一社会信用代码/组织机构代码'] = s.group(4)
            dict['处罚事由/违法类型'] = s.group(6)
            dict['处罚依据'] = s.group(8)
            dict['处罚措施'] = s.group(10)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if '罚款' in cfcs:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其它'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = ''
            dict['行政处罚决定书文号'] = s.group(2)
            dict['原文'] = str
            dict['链接'] = url
        elif re.search(pattern_12, str) is not None:
            s = re.search(pattern_12, str)
            dict['公司名称'] = s.group(3)
            dict['统一社会信用代码/组织机构代码'] = s.group(4)
            dict['处罚事由/违法类型'] = s.group(6)
            dict['处罚依据'] = s.group(8)
            dict['处罚措施'] = s.group(10)
            cfcs = dict['处罚措施']
            pat_2 = re.compile('罚款(.*)?元')
            pat_3 = re.compile('处(.*)?罚款')
            pat_4 = re.compile('处罚款(.*)?')
            if re.search(pat_2, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_2, cfcs).group(1)
            elif re.search(pat_3, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_3, cfcs).group(1)
            elif re.search(pat_4, cfcs) is not None:
                dict['罚款金额（元）'] = re.search(pat_4, cfcs).group(1)
            else:
                dict['罚款金额（元）'] = ''
            if '罚款' in cfcs:
                dict['处罚类别'] = '罚款'
            else:
                dict['处罚类别'] = '其它'
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = ''
            dict['行政处罚决定书文号'] = s.group(2)
            dict['原文'] = str
            dict['链接'] = url
        else:
            dict['公司名称'] = ''
            dict['统一社会信用代码/组织机构代码'] = ''
            dict['处罚事由/违法类型'] = ''
            dict['处罚依据'] = ''
            dict['处罚措施'] = ''
            dict['查封扣押情况'] = ''
            dict['处罚时间'] = ''
            dict['行政处罚决定书文号'] = ''
            dict['原文'] = str
            dict['链接'] = url
            dict['处罚类别'] = '罚款'
            dict['罚款金额（元）'] = ''
        list.append(dict)
        return list